package com.cycleit.applicationexample.model {
	
	import mx.messaging.ChannelSet;
	
	/********************************************************************
	 * ConfigModel hosts every required configuration variable for your *
	 * Flex application to work. It'll be loaded using a configuration  *
	 * config.xml file.													*
	 * ******************************************************************/
	[Bindable]
	public class ConfigModel {
		
		private static var _instance:ConfigModel;
		
		public static function getInstance():ConfigModel{
        	if(_instance == null) {
	       		_instance = new ConfigModel(new SingleClass());
	    	}
	    	return _instance;
        }
        
		public function ConfigModel(v:SingleClass) { }
		
		// AMF Channel url
		public var channelSet:ChannelSet;
		// Server url
		public var urlServer:String;
		// AMF url
		public var urlAMF:String;
		// Resources url
		public var urlResources:String;
		// Application's title. Dummy variable for example purposes only
		public var title:String;
	}
}
class SingleClass {}